
void Test()
{
    Solution s;
    vector<int> nums = {2, 7, 11, 15};
    int target = 9;
    vector<int> result = s.twoSum(nums, target);
    for (auto &v : result)
    {
        cout << v << " ";
    }
    cout << endl;
}

int main()
{
    Test();
    fflush(stdout);
    return 0;
}